﻿package com.designoutput.ui.controls
{
    import com.designoutput.icon.HorizontalSplitLarge;
    import com.designoutput.icon.HorizontalSplitMedium;
    import com.designoutput.icon.HorizontalSplitSmall;
    
    import flash.display.*;

    public class BoxSplit extends Bitmap
    {
		
		public static var SMALLTYPE:String = "small";
		public static var MEDIUMTYPE:String = "medium";
		public static var LARGETYPE:String = "large";

        public function BoxSplit(type:String)
        {
            switch(type)
            {
                case SMALLTYPE:
                {
                    this.bitmapData = new HorizontalSplitSmall(0, 0);
                    break;
                }
                case MEDIUMTYPE:
                {
                    this.bitmapData = new HorizontalSplitMedium(0, 0);
                    break;
                }
				case MEDIUMTYPE:
				{
					this.bitmapData = new HorizontalSplitLarge(0, 0);
					break;
				}
                default:
                {
                    break;
                }
            }
        }

    }
}
